Spread WinForms 15
FarPoint.Excel Assembly / FarPoint.Excel Namespace / ObjectsDeserializer Class / GetObject Method / GetObject<T>(String,ISupportedProduct,Boolean) Method


In This Topic
GetObject<T>(String,ISupportedProduct,Boolean) Method
In This Topic
Deserialize object from memory stream and remove the memory stream in the first time to save memory.
Syntax
'Declaration
 
Public Overloads Function GetObject(Of T As Class)( _
   ByVal filename As String, _
   ByVal supportProduct As ISupportedProduct, _
   ByVal multiThread As Boolean _
) As T
 
'Usage
 
Dim instance As ObjectsDeserializer
Dim filename As String
Dim supportProduct As ISupportedProduct
Dim multiThread As Boolean
Dim value As T
 
value = instance.GetObject(Of T)(filename, supportProduct, multiThread)

Parameters

filename
supportProduct
multiThread

Type Parameters

T
See Also